package com.zzptc.sky.myapplication;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.TextView;
import android.widget.Toast;

public class ShezhiActivity extends AppCompatActivity {
TextView zi=null;
    TextView zhanhao=null;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_shezhi);
        zi= (TextView) findViewById(R.id.zi);
        zhanhao= (TextView) findViewById(R.id.zhanhao);
        zi.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(ShezhiActivity.this,MainActivity.class);
                startActivity(intent);
            }
        });
        zhanhao.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(ShezhiActivity.this,zhanhaoActivity.class);
                startActivity(intent);
            }
        });
    }

}
